home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
13288
/
13288.xpi
/
content
/
listmanager.xul
< prev
next >
Wrap
Extensible Markup Language
|
2009-09-02
|
3KB
|
73 lines
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
<?xml-stylesheet href="chrome://supertabmode/skin/listmanager.css" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://supertabmode/locale/dialog.dtd">
<dialog id="stm-dialog"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
autosize="true"
resizable="no"
persist="screenX screenY"
buttons="accept,cancel,extra1,extra2"
onload="stmList.init();"
onunload="stmList.destory();"
ondialogaccept="stmList.setOptions();"
ondialogextra1="stmList.setOptions();"
title="&dialog.title;">
<script type="application/x-javascript" src="chrome://supertabmode/content/listmanager.js"/>
<script type="application/x-javascript" src="chrome://supertabmode/content/common.js"/>
<vbox>
<hbox align="center">
<checkbox id="filtercbx" label="&filter.enabled;" oncommand="stmList.updateDialogAllStatus();"/>
<spacer flex="1"/>
<button id="delbtn"
label="&filter.button.delete;"
disabled="true"
oncommand="stmList.delSelected();"/>
</hbox>
<tree id="filterList" width="375" height="170" seltype="multiple"
enableColumnDrag="true" disableKeyNavigation="true" editable="true"
onselect="stmList.updateDelButtonStatus();">
<treecols>
<treecol id="columnRule" label="&filter.column.rule;" flex="1" persist="width hidden"/>
<splitter class="tree-splitter"/>
<treecol id="columnEnabled" label="&filter.column.enabled;" persist="width hidden" type="checkbox" editable="true"/>
</treecols>
<treechildren id="filterChilds" ondblclick="stmList.onDblClickFilterList(event);"/>
</tree>
<hbox align="center">
<label id="urllabel" value="&filter.url.label;"/>
<textbox id="urlbox" flex="1"
oninput="stmList.updateAddButtonStatus();"/>
<button id="addbtn"
label="&filter.button.add;"
disabled="true"
oncommand="stmList.addNewURL();"/>
</hbox>
</vbox>
<separator />
<hbox>
<button dlgtype="extra2" id="myExtra2" label="&settings.label;" popup="settings"/>
<spacer flex="1"/>
<button dlgtype="accept" id="myAccept"/>
<button dlgtype="extra1" id="myExtra1" label="&apply.label;"/>
<button dlgtype="cancel" id="myCancel"/>
</hbox>
<popupset>
<popup id="settings" position="before_start">
<menuitem id="default" label="&settings.default;" oncommand="stmList.restoreDefault();"/>
<menuitem id="import" label="&settings.import;" oncommand="stmList.importSettings();"/>
<menuitem id="export" label="&settings.export;" oncommand="stmList.exportSettings();"/>
</popup>
</popupset>
</dialog>